<html><head><title>Music</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">SpiderBasic - Music</font></b></p>

<p><b>Overview</b></p><blockquote>


PureBasic can replay standard music modules to have nice music background 
during a game or an application. The music modules are well known from Demo makers, 
as its an efficient way to build music on a computer. The tools used to 
create the music modules are named 'Trackers' (ProTracker, FastTracker, Impulse 
Tracker...). The advantages of a music module against a .wav/mp3 file are its very low size, 
a virtually endless length, the very fast replay, possible jump on a certain 
music part to fit to the screen action etc... It's of course possible to mix 
<a href="../sound/index.html">standard sound</a> and music to have both played simultaneously. 
<br>
<br>
The <a href="http://modplug-xmms.sourceforge.net/">ModPlug</a> library is used to have a very high quality music playback and multiple 
tracker support. 
<br>
<br>
The command <a href="../sound/initsound.html">InitSound()</a> has to be called with success 
before using any of the music related functions. 

</blockquote><p><b>Command Index</b><blockquote>
<a href="catchmusic.html">CatchMusic</a><br>
<a href="freemusic.html">FreeMusic</a><br>
<a href="getmusicposition.html">GetMusicPosition</a><br>
<a href="getmusicrow.html">GetMusicRow</a><br>
<a href="ismusic.html">IsMusic</a><br>
<a href="loadmusic.html">LoadMusic</a><br>
<a href="musicvolume.html">MusicVolume</a><br>
<a href="playmusic.html">PlayMusic</a><br>
<a href="setmusicposition.html">SetMusicPosition</a><br>
<a href="stopmusic.html">StopMusic</a><br>
</blockquote></p>

<p><b>Example</b></p><blockquote>
<a href="../Examples/Music.pb.html">Music.pb</a>

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><a href=../reference/reference.html>Reference Manual - Index</a></center>


</body></html>